<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>问题合同退回</title>
	<link rel="stylesheet" href="css/reset.css">
	<link rel="stylesheet" href="css/product.css">
	<link rel="stylesheet" href="css/select-big.css">
	<style>
		.content-btn {
		    margin: 0 16px;
		}
		.product-child-content{
			width: 750px;
			margin: 0 auto;
		}
		.product-child-content .content-btn {
		    margin: 0;
		}
		.content-table-two tbody tr td {
		    max-width: 300px;
		    min-width: 20px;
		}
		.content-table-two tbody tr td input{
			width: 80%;
			height: 30px;
			line-height: 30px;
			background: #F9FBFF;
			border: 1px solid #ecf2f7;
			border-radius: 15px;
			text-align: center;
		}
		.icon-delImg{
			display: inline-block;
		    background: url(images/close-1.png)no-repeat;
		    width: 25px;
		    height: 25px;
		    cursor: pointer;
		}
		.icon-delImg:hover{
			background: url(images/close-1.png)no-repeat 0 -27px;
		}
		.divLeft {
		    float: right;
		    width: auto;
		    display: inline-block;
		    margin-top: -35px;
		}
		.content-table-newservice {
		    width: 88%;
		    margin: 10px auto;
		}
		.content-table-newservice tbody tr td:nth-child(odd){
			width: 100px;
		}
		.content-table-newservice tbody tr td{
			border-bottom:1px solid #f5f5f5;
		}
		.content-table-newservice tbody tr:last-child td{
			border-bottom:0px solid #f5f5f5;
		}
		.content-table-newservice tbody tr td p{
			display: inline-block;
		    width: 640px;
		    min-height: 30px;
		    margin-top: 15px;
		    word-wrap: break-word;
		    line-height: 20px;
		}
		.content-table-newservice1 tbody tr td{
			line-height: 35px;
		}
		.content-table-newservice1 tbody tr td:first-child{
			width: 115px;
    		text-align: right;
    		vertical-align: text-top;
		}
		.content-table-newservice1 tbody tr td input {
		    width: 338px;
		    height: 45px;
		    padding-left: 10px;
		    margin-right: 16px;
		    color: #666;
		    margin-bottom: 10px;
		    border: 1px solid #e6e6e6;
		    border-radius: 4px;
		    box-sizing: border-box;
		    outline: none;
		}
		.content-table-newservice1 tbody tr td textarea {
		    width: 590px;
		    height: 100px;
		    padding: 10px;
		    resize: none;
		    color: #666;
		    border: 1px solid #e6e6e6;
		    border-radius: 4px;
		    outline: none;
		}
		input[type="checkbox"]{
			width: 14px !important;
			height: 14px !important;
		}
	</style>
</head>
<body style="background:#fff;">
<div class="main-content-box">
	<div class="content-list">
		<table class="content-table-newservice" cellspacing="0" cellpadding="0">
			<tbody>
				<tr>
					<td><span>所属部门：</span></td>
					<td id = "department"></td>
					<td><span>快递单号：</span></td>
					<td id = "tracknumber"></td>
				</tr>
			</tbody>
		</table>
	</div>
	<div class="product-child-content">
		<div class="content-info">
			<div class="content-btn bot-line">
				<span class="title-info">纸质合同信息</span>
			</div>
			<form id = "seachForm">
				<input type = "hidden" name = "returntracknumber" />
			</form>
			<table id = "table" pagenation = "false" class="tableOrder content-table-two matop" datatable = "true" bindForm = "seachForm" cellspacing="0" cellpadding="0" dataAction = "/contractDetail/findList">
				<tbody style = "display:none;">
					<th style = "width:95px;" title = "项目编号" name = "projectcode" type = "string"></th>
					<th style = "width:125px;" title = "项目名称" name = "projectname" type = "string"></th>
					<th style = "width:80px;" title = "客户编号" name = "custcode" type = "string"></th>
					<th style = "width:70px;" title = "客户名称" name = "custname" type = "string"></th>
					<th style = "width:85px;" title = "纸质合同编号" name = "contractcode" type = "string"></th>
					<th style = "width:100px;" title = "倒账金额" name = "transfercash" type = "string"></th>
					<th style = "width:140px;" title = "理顾姓名" name = "isname" type = "string"></th> 
				</tbody>
			</table>
			<form type='dataForm' id = "form" dataHref = "/expressInformation/problemeContractReturn">
				<input type = "hidden" name = "type" value = "2">
				<table class="content-table-newservice1 matop30" cellspacing="0" cellpadding="0">
					<tbody>
						<tr>
							<td><span class="info-red"><font color="red">*</font>退回快递公司：</span></td>
							<td>
								<select id="single" name = "company">
									<option value="1">顺丰快递</option>
									<option value="2">圆通快递</option>
									<option value="3">申通快递</option>
									<option value="4">韵达快递</option>
									<option value="5">汇通快递</option>
									<option value="6">邮政EMS</option>	
									<option value="7">自取</option>
								</select>
							</td>
						</tr>
						<tr>
							<td><span class="info-red"><font color="red">*</font>退回快递单号：</span></td>
							<td>
								<input type="text" name = "tracknumber">
							</td>
						</tr>
						<tr>
							<td><span class="info-red"><font color="red">*</font>退回说明：</span></td>
							<td><textarea name="" id="" cols="30" rows="3" name = "remark"></textarea></td>
						</tr>
						<tr>
							<td></td>
							<td>
								<button class="save-btn">保存</button>
							</td>
						</tr>
					</tbody>
				</table>
			</form>
		</div>
	</div>
</div>
	<script src="js/jquery-3.2.1.min.js"></script>
	<script type="text/javascript" src="lib/layer/2.4/layer.js"></script>
	<script src="js/select.jquery.js"></script>
<<<<<<< HEAD
	<script type="text/javascript" src = "js/util.js"></script>
	
	<script>
		//$('#single').multiselect({multiple:false,setWidth: 338+'px'});
		$(document).ready(function(){
			var data = parent.data;
			$("input[name='returntracknumber']").val(data.tracknumber);
			$("#department").text(data.department);
			$("#tracknumber").text(data.tracknumber);
		})
		function validateCallback(){
			var tableData = $("#table").getCheckData();
			if(tableData.length < 1){
				parent.layer.msg("请选择数据");
				return false;
			}
			var html = "";
			for(var i = 0 ; i < tableData.length ; i ++){
				html += "<input type = 'hidden' name = 'details[" + i + "].id' value = '" + tableData[i].id + "'>";
			}
			$("#form").append(html);
			return true;
		}
		function tableCallBack(my){
    		my.find("thead").find("tr").prepend("<td><input type=\"checkbox\"></td>");
			var $tr = my.find("tbody").eq(1).find("tr");
			for(var i = 0 ; i < $tr.length ; i++){
				var html = "<td><input type=\"checkbox\"></td>";
				$($tr[i]).prepend(html);
			}
			my.find("thead").find("input[type='checkbox']").click(function(){
				var $this = $(this);
				my.find("tbody").find("input[type='checkbox']").prop("checked",$this.is(":checked"));
			}); 
    	} 
		function submitCallback(){
			parent.layer.closeAll();
		}
=======
	<script src="js/allProduct.js"></script>
	<script>
		$('.multiselect').multiselect({setMaxOptionNum:4,selectedHtmlValue:'全部',setWidth: 338+'px'});
		$('#single1').multiselect({multiple:false,selectedHtmlValue:'部门名称1',setWidth: 338+'px'});
		$('#single2').multiselect({multiple:false,selectedHtmlValue:'顺丰快递',setWidth: 338+'px'});
		$('#single3').multiselect({multiple:false,selectedHtmlValue:'杭州印刷厂',setWidth: 338+'px'});
        function getHeight(){
            var myiframeH=$(".main-content").height();
            var _parent=$(window.parent.document);
            _parent.find('body').css('height',(myiframeH+150)+'px');
            _parent.find('.main-position').css('height',(myiframeH+100)+'px');
        };
        $('.main-content').resize(function(){
            getHeight();
        });
>>>>>>> ba60cc95f87c12749e55b78ad5f3703e856c15a7
	</script>
	<script type="text/javascript" src = "js/table.js"></script>
	<script src="js/jquery-validation/1.11.0/jquery.validate.min.js" type="text/javascript"></script>
	<script type="text/javascript" src = "js/validate.js"></script>
	<script type="text/javascript" src = "js/newSubmit.js"></script>
</body>
</html>